package com.shopping_back.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("groupbuy_member")
public class GroupbuyMember {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long groupId;
    private Long userId;
    private Long orderId;
    private Integer quantity;
    private LocalDateTime joinTime;
    private Integer status;               // 0 待成团 1 已成团 2 退款 3 取消
}

